package tech.treec.smartlight;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by Young on 2025/3/16.
 */
public class LoggerUtil {
    // 创建 Logger 实例
    private static final Logger logger = LoggerFactory.getLogger(LoggerUtil.class);

    public static void logInfo(String message) {
        // 信息级别日志
        logger.info(message);
    }

    public static void logError(String message, Throwable throwable) {
        // 错误级别日志
        logger.error(message, throwable);
    }

}
